package com.hzw.saas.api.workspace.bo;

import java.io.Serializable;
import java.util.Date;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * <p>
 *  工作实例列表显示的数据
 * </p>
 *
 * @author sonam
 * @since 2021/2/4 12:12
 */
@Data
@ApiModel("工作实例")
public class WorkInstanceBo implements Serializable {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "ID")
    private String instId;

    @ApiModelProperty(value = "用户id")
    private String userId;

    @ApiModelProperty(value = "arn", notes = "arn")
    private String instTaskId;

    @ApiModelProperty(value = "版本号", notes = "暂时用来区分实例列表中相同的实例")
    private Integer instTaskRevision;

    @ApiModelProperty(value = "产品ID")
    private String productId;

    @ApiModelProperty(value = "开启时间", notes = "启动产品实例的日期")
    private Date instStartTime;

    @ApiModelProperty(value = "最后一次开启时间", notes = "最近一次启动产品实例的日期")
    private Date instLastTime;

    @ApiModelProperty(value = "开启时间(毫秒)", notes = "启动产品实例的日期(毫秒)")
    private Long instStartTimeMs;

    @ApiModelProperty(value = "最后一次开启时间(毫秒)", notes = "最近一次启动产品实例的日期(毫秒)")
    private Long instLastTimeMs;

    @ApiModelProperty(value = "计算进程", notes = "暂定为产品名称")
    private String processName;

    /**
     * Family
     */
    @ApiModelProperty(value = "Family", notes = "Family")
    private String instTaskFamily;

}
